package com.fbli.springdatajpa.repository;


import com.fbli.springdatajpa.pojo.entity.JpaUser;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.repository.query.Param;

/**
 * @Classname JpaUserRepository
 * @Description TODO
 * @Date 2020/8/13 15:12
 * @Created by orange
 */
public interface JpaUserRepository extends JpaRepository<JpaUser, Long> {

    JpaUser findByName(@Param("name") String name);
}

